package com.example.androidproject.movie.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class ResultBeanData  {

    /**
     * status : 0
     * message : 获取成功
     * data : [{"id":1,"name":"201314","src":"https://pic1.91diany.com/Uploads/vod/2020-01-05/5e1127b731844.jpg","classify":"\r\n爱情","director":"孔令晨","star":"金晨,/郭晓然,/朱芷玄,/郭鑫,/王璐瑶","info":"电影《201314》名字取意为\u201c爱你一生一世\u201d，是围绕着三对都市男女的奇妙爱情而展开的轻松浪漫的故事。 失恋女温馨（金晨 饰）与闺蜜夜店疗情伤巧遇热情男温小固（郭晓然 饰），两人因\u201c泼酒事件\u201d开始了奇妙缘分，因同住一栋公寓的13层和14层在两人经历无数次让人啼笑皆非、甚至硝烟四起的非正式认识\u2026","m3u8":"https://v4.cdtlas.com/20220405/SlQAKzgd/1100kb/hls/index.m3u8"},{"id":2,"name":"地球最后的夜晚","src":"https://pic1.91diany.com/Uploads/vod/2019-02-16/5c6751921850d.jpg","classify":"\r\n剧情","director":"毕赣","star":"汤唯,/黄觉,/张艾嘉,/李鸿其","info":"罗紘武（黄觉 饰）因父亲离世再次回到贵州。12年前，好友白猫（李鸿其 饰）被杀，罗紘武在追查凶手左宏元（陈永忠 饰）的过程中，被凶手的情人万绮雯（汤唯 饰）所利用。从此以后，这个神秘的女人构成了他所有的记忆、欲望、信念和梦魇，一段追寻之旅让他发现了被隐藏多年的秘密\u2026&hellip\u2026","m3u8":"https://v4.cdtlas.com/20220317/tbDo98pp/1100kb/hls/index.m3u8"},{"id":3,"name":"杀戒","src":"https://pic1.91diany.com/Uploads/vod/2018-11-22/5bf64424c90b4.jpg","classify":"\r\n爱情","director":"竹卿","star":"倪妮,/刘烨,/王迅,/张逗逗,/孙桂田","info":"有\u201c小城普希金\u201d之称的马匹配种站副站长肖立昆（刘烨 饰）出身杀猪世家却有一颗爱好诗歌的心；小城里最美的音乐老师江月娥（倪妮 饰）刚刚结束了一段失败的感情，在这时，她与立昆相遇了。仿若一见钟情的二人迅速步入婚姻殿堂，并有了儿子，看似美满的家庭却是堆积在谎言和秘密之上。 婚后的立昆和月\u2026","m3u8":"https://v4.cdtlas.com/20220502/Q2JLI31W/1100kb/hls/index.m3u8"},{"id":4,"name":"狄仁杰之四大天王","src":"https://pic1.91diany.com/Uploads/vod/2018-07-31/5b5fe2ac57c38.jpg","classify":"\r\n动作","director":"徐克 ","star":"赵又廷,/冯绍峰,/林更新,/刘嘉玲,/马思纯,/阮经天","info":"狄仁杰（赵又廷 饰）大破神都龙王案，获御赐亢龙锏，并掌管大理寺，使他成为武则天（刘嘉玲 饰）走向权力之路最大的威胁。武则天为了消灭眼中钉，命令尉迟真金（冯绍峰 饰）集结实力强劲的「异人组」，妄图夺取亢龙锏。 在医官沙陀忠（林更新 饰）的协助下，狄仁杰既要守护亢龙锏，又要破获神秘奇案，\u2026","m3u8":"https://v4.cdtlas.com/20220326/5VeetR7b/1100kb/hls/index.m3u8"},{"id":5,"name":"恐怖理发店","src":"https://pic1.91diany.com/Uploads/vod/2018-11-22/5bf6580ee299e.jpg","classify":"\r\n爱情","director":"陆诗雷","star":"殷果儿,/任青安,/姜星丘,/陈嘉敏","info":"位于深山小镇的理发店发生的一系列灵异奇闻，殷果儿、任青安、姜星丘等人陷入危难绝境中无法脱身，和理发店有关联的人物接连被惨绝杀害，血腥残暴引来人心惶惶，而抽丝剥茧之后的真相更加令人心惊胆战。","m3u8":"https://v4.cdtlas.com/20220412/ErJnq0Tj/1100kb/hls/index.m3u8"},{"id":6,"name":"我为相亲狂","src":"https://pic1.91diany.com/Uploads/vod/2019-01-03/5c2d8ba3421c4.jpg","classify":"\r\n爱情","director":"韩晶","star":"韩雪,/杜海涛,/李佳航,/谢依霖","info":"大龄女强人白晶晶（韩雪饰）美艳逼人，在一次相亲会上，富家子弟赵帅（李佳航饰）被其风姿倾倒，主动搭讪遭拒，心有不甘的他使出浑身解数发动爱情攻势，结果惨败。戏痴啾啾（谢依霖饰）自编自演五个性格迥异的女孩，宅男江小鱼（冯铭潮饰）在母亲遥控指挥下与之\u201c地铁闪约\u201d，上演了一出哭笑\u2026","m3u8":"https://v4.cdtlas.com/20220424/AaaDWhNa/1100kb/hls/index.m3u8"},{"id":7,"name":"爱情银行","src":"https://pic1.91diany.com/Uploads/vod/2018-11-23/5bf6fdb635c9e.jpg","classify":"\r\n爱情","director":"曲江涛","star":"夏雨,/周泓,/徐洁儿","info":"爱情如果能够储存，是活期还是定期？利息又是什么？何沐阳（夏雨 饰）开设了一家名为\u201c爱情银行\u201d的咖啡馆，恋人们可以来这把对彼此的告白储存一年，如果一年以后分手，没有来取回视频，视频就会被销毁，押金就归爱情银行所有，这也是爱情银行特殊的经营之道。一个名叫余小鱼（周泓 饰）的女孩为拿回男\u2026","m3u8":"https://v4.cdtlas.com/20220326/dZY8OizE/1100kb/hls/index.m3u8"},{"id":8,"name":"逆光飞翔","src":"https://pic1.91diany.com/Uploads/vod/2018-11-23/5bf70b8f1aa09.jpg","classify":"\r\n爱情","director":"张荣吉","star":"张榕容,/黄裕翔,/李烈,/许芳宜","info":"音乐天分超凡的男孩裕翔（黄裕翔饰）弹得一手好琴，却天生失明。他坚持不参加任何比赛，只希望能拥有像普通人一样的生活。他第一次离家北上念书，遇见热爱跳舞却因故被迫放弃梦想的女孩小洁（张榕容饰）。裕翔能\u201c看见\u201d世界上不被旁人看见的美丽，从未放弃过这个世界。他就像一缕温暖的逆光照进了小洁\u2026","m3u8":"https://v4.cdtlas.com/20220331/bQB4grVw/1100kb/hls/index.m3u8"},{"id":9,"name":"寻找刘三姐","src":"https://pic1.91diany.com/Uploads/vod/2018-11-25/5bfa59230ecab.jpg","classify":"\r\n爱情","director":"朱枫","star":"苏有朋,/黄圣依,/魏宗万,/车永莉,/爱新觉罗·启星","info":"韦文德（苏有朋 饰）是一名音乐家，某日，他演奏了老电影《刘三姐》中的插曲，被导师听到，导师告诉韦文德，尽管他的技艺已经炉火纯青，所弹奏了曲子却缺少最重要的东西\u2014\u2014灵魂。为了寻找灵魂，韦文德决定回到故乡广西，在那里探寻有关刘三姐的轶事。 回到家乡后，美丽的刘甜甜（黄圣依 饰\u2026","m3u8":"https://v4.cdtlas.com/20220325/b5nAN6eq/1100kb/hls/index.m3u8"},{"id":10,"name":"庐山恋2010","src":"https://pic1.91diany.com/Uploads/vod/2019-11-03/5dbe89e2332e6.jpg","classify":"\r\n爱情","director":"张瑜","star":"秦岚,/李晨,/方中信,/张瑜","info":"上世纪80年代，美丽时尚的女孩周筠（张瑜 饰）与耿桦（郭凯敏 饰）在风景秀丽的庐山谱写出一段感人至深的恋情，至今周筠的美好影响仍久久驻留人们的心田，令人无法忘怀。时间进入21世纪，当年那清秀可人的女孩已经成为叱咤商界的女强人，她的女儿耿菲儿（秦岚 饰）更出落成一位不输母亲当年风采的可人\u2026","m3u8":"https://v4.cdtlas.com/20220407/qNrFrnx4/1100kb/hls/index.m3u8"}]
     * total : 140
     */

    private int status;
    private String message;
    private int total;
    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean  implements Parcelable{
        /**
         * id : 1
         * name : 201314
         * src : https://pic1.91diany.com/Uploads/vod/2020-01-05/5e1127b731844.jpg
         * classify :
         爱情
         * director : 孔令晨
         * star : 金晨,/郭晓然,/朱芷玄,/郭鑫,/王璐瑶
         * info : 电影《201314》名字取意为“爱你一生一世”，是围绕着三对都市男女的奇妙爱情而展开的轻松浪漫的故事。 失恋女温馨（金晨 饰）与闺蜜夜店疗情伤巧遇热情男温小固（郭晓然 饰），两人因“泼酒事件”开始了奇妙缘分，因同住一栋公寓的13层和14层在两人经历无数次让人啼笑皆非、甚至硝烟四起的非正式认识…
         * m3u8 : https://v4.cdtlas.com/20220405/SlQAKzgd/1100kb/hls/index.m3u8
         */

        private int id;
        private String name;
        private String src;
        private String classify;
        private String director;
        private String star;
        private String info;
        private String m3u8;

        protected DataBean(Parcel in) {
            id = in.readInt();
            name = in.readString();
            src = in.readString();
            classify = in.readString();
            director = in.readString();
            star = in.readString();
            info = in.readString();
            m3u8 = in.readString();
        }

        public static final Creator<DataBean> CREATOR = new Creator<DataBean>() {
            @Override
            public DataBean createFromParcel(Parcel in) {
                return new DataBean(in);
            }

            @Override
            public DataBean[] newArray(int size) {
                return new DataBean[size];
            }
        };

        //
        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeInt(id);
            dest.writeString(name);
            dest.writeString(src);
            dest.writeString(classify);
            dest.writeString(director);
            dest.writeString(star);
            dest.writeString(info);
            dest.writeString(m3u8);
        }
        //
        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSrc() {
            return src;
        }

        public void setSrc(String src) {
            this.src = src;
        }

        public String getClassify() {
            return classify;
        }

        public void setClassify(String classify) {
            this.classify = classify;
        }

        public String getDirector() {
            return director;
        }

        public void setDirector(String director) {
            this.director = director;
        }

        public String getStar() {
            return star;
        }

        public void setStar(String star) {
            this.star = star;
        }

        public String getInfo() {
            return info;
        }

        public void setInfo(String info) {
            this.info = info;
        }

        public String getM3u8() {
            return m3u8;
        }

        public void setM3u8(String m3u8) {
            this.m3u8 = m3u8;
        }

    }
}
